package com.nfit.service.impl.currencie;

import com.nfit.dao.CurrenciesMapper;
import com.nfit.entity.Currencies;
import com.nfit.service.CurrenciesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CurrenciesServiceImpl implements CurrenciesService {
    @Autowired
    private CurrenciesMapper dao;

    @Override
    public List<Currencies> getCurrencies() {
        return dao.getCurrencies();
    }
}
